File: /home/sportpoint-hotel.ru/public_html/wp-content/plugins/elementor/assets/js/new-template.min.js
/*! elementor - v2.5.14 - 16-04-2019 */
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=178)}({178:function(e,t,n){"use strict";var o=n(179),i=elementorModules.ViewModule.extend({getDefaultSettings:function(){return{selectors:{addButton:".page-title-action:first, #elementor-template-library-add-new"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$addButton:jQuery(e.addButton)}},bindEvents:function(){this.elements.$addButton.on("click",this.onAddButtonClick),elementorCommon.elements.$window.on("hashchange",this.showModalByHash.bind(this))},showModalByHash:function(){"#add_new"===location.hash&&(this.layout.showModal(),location.hash="")},onInit:function(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.layout=new o,this.showModalByHash()},onAddButtonClick:function(e){e.preventDefault(),this.layout.showModal()}});jQuery(function(){window.elementorNewTemplate=new i})},179:function(e,t,n){"use strict";var o=n(180);e.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function(){return{id:"elementor-new-template-modal"}},getLogoOptions:function(){return{title:elementorAdmin.translate("new_template")}},initialize:function(){elementorModules.common.views.modal.Layout.prototype.initialize.apply(this,arguments),this.showLogo(),this.showContentView()},showContentView:function(){this.modalContent.show(new o)}})},180:function(e,t,n){"use strict";e.exports=Marionette.ItemView.extend({id:"elementor-new-template-dialog-content",template:"#tmpl-elementor-new-template",ui:{},events:{},onRender:function(){}})}});